package com.pms.init.base;

import org.springframework.stereotype.Component;

import com.espirit.eap.manager.I18n;
import com.espirit.eap.manager.ModelBuilderSupport;
@Component
public class I18nBuilder extends ModelBuilderSupport {

	private static final String FIELD_KEY="key";
	private static final String FIELD_NAME="name";
	@Override
	public boolean init() {
		return super.setClass(I18n.class, "I18n", "I18n") ;
	}
	@Override
	public void buildFields() {
		addModelField(FIELD_KEY, "Name", "名称");
		addModelField(FIELD_NAME, "Name", "名称");
		addModelField("enName", "English Name", "英文");
		addModelField("cnName", "Chinese Name", "中文");
	}
	
}
